home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2729 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.0 KB  |  48 lines

  1. Path: thor.tu.hac.com!collins
  2. From: collins@thor.tu.hac.com (Ron Collins)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: XMS and Vesa programming
  5. Date: 23 Jan 1996 13:58:03 GMT
  6. Organization: Advanced Depot Systems
  7. Message-ID: <4e2phb$q0t@hacgate2.hac.com>
  8. References: <4e0qlm$daq@cocoa.is.in-berlin.de>
  9. NNTP-Posting-Host: thor.tu.hac.com
  10.  
  11. Marco Grubert (grubert@is.in-berlin.de) wrote:
  12. : Hello,
  13.  
  14. : I urgently need help on the following problem. I would like to enhance
  15. : a freeware C program, by adding Vesa graphics to the standard MCGA
  16. : graphics. To do so, an off-screen buffer of about 300K has to be
  17. : created, which would be to big for conventional memory. However I am a
  18. : pascal programmer and only a C beginner. Is there anyone out there who
  19. : has either Vesa routines (mode 0x101- 640x480x256) or XMS routines for
  20. : copying from XMS to conventional, etc. ?
  21.  
  22. : Thank you very much,
  23. :       Marco Grubert
  24.  
  25. This is not really a C question, and since it is specific to MS-DOS machines,
  26. you should be asking this over in comp.msdos.programmer, or in one of the
  27. graphics groups.  Those areas will have the expertise you are looking for.
  28.  
  29. However, with that said, I may have a few ideas.  If the graphics used
  30. by your current program use the BIOS to paint the screen, then maybe all
  31. you need is a Vesa driver loaded.  There are free Vesa driver programs
  32. that you can load into memory as a TSR when you boot your machine; then,
  33. whenever you switch into graphics modes, the Vesa modes (0x6a, 0x100..0x109,
  34. etc) are available just as if they were built into the BIOS ROM.  Take
  35. a look at the graphics utilities on oak.oakland.edu, or any of the Simtel
  36. mirrors.  You'll have to do some digging around to get the version you
  37. need for your machine, but it can save you months of programming time.
  38.  
  39.  
  40.                         -- Collins --
  41.                         
  42. -----
  43. The views expressed here are mine alone.
  44.  
  45. Ron Collins/Hughes Aircraft Company/M20,P20/Tucson Az 85706
  46. rcollins@thor.tu.hac.com    collins@seagull.rtd.com
  47. ยก----
  48.